#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
:FileName: file_model.py
:Project:
:Brand:
:Version:
:Description: 
:Author: He YinYu
:Link:
:Time: 2025/5/13 9:20
"""
from .base import BaseModel
from tortoise import fields

__all__ = [
    'FileModel'
]


class FileModel(BaseModel):
    file_id = fields.UUIDField(
        primary_key=True,
        description="文件ID"
    )
    file_path = fields.CharField(
        max_length=255,
        description="文件路径"
    )
    file_name = fields.CharField(
        max_length=255,
        description="文件名"
    )

    class Meta:
        table = "file"
